import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Promote from '@/components/Promote'

Vue.use(Router);

export default new Router({
    mode:'history',
    routes: [
        {
          path: '/',
          name: 'Home',
          component: Home
        },
        {
          path: '/promote',
          name: 'Promote',
          component: Promote
        }
    ]
})
